{
	"name": "red / green",
	"listeners": [{
		"detect": {
			"r": 245,
			"g": 0,
			"b": 28
		},
		"default": "off",
		"states": [{
			"name": "on",
			"condition": {
				"r": 128,
				"r_operator": "<=",
				"g": 128,
				"g_operator": ">="
			}}]
	}]
}